package com.cxp.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by cxp19 on 2018/5/23.
 */
@RestController
@RequestMapping("/hello")
public class MyController {

    @GetMapping
    public String hello(){
        return "hello";
    }
}
